package io.renren.modules.lanling.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 城市表
 * 
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-11-30 15:17:51
 */
@TableName("lanling_city")
public class CityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Integer id;
	/**
	 * 城市名
	 */
	private String city;
	/**
	 * 创建时间
	 */
	private Date createDate;

	/**
	 * 设置：id
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：城市名
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * 获取：城市名
	 */
	public String getCity() {
		return city;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}
}
